package com.fitsoftwareprocess.mobilemap;

import java.util.ArrayList;
import java.util.List;

import org.ksoap2.serialization.SoapObject;
import org.ksoap2.serialization.SoapPrimitive;
import org.ksoap2.serialization.SoapSerializationEnvelope;
import org.ksoap2.transport.HttpTransportSE;



import com.fitsoftwareprocess.mobilemap.bus.MyWebClient;
import com.fitsoftwareprocess.mobimap.dto.Coordinate;
import com.fitsoftwareprocess.mobimap.dto.HomeInfoEx;
import com.fitsoftwareprocess.mobimap.dto.StreetInfo;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.util.Log;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;
import android.widget.EditText;
import android.widget.TextView;

public class AddressActivity extends Activity implements OnClickListener {
	
	Button findAddress;
	EditText editTextAddress;
	
	@Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_address);
        editTextAddress = (EditText)findViewById(R.id.editTextAddress_Address);
        findAddress = (Button)findViewById(R.id.buttonFind_Address);
        findAddress.setOnClickListener(this);
        
	}
	public void onClick(View v) {
		Intent intent;
		// TODO Auto-generated method stub
		switch(v.getId())
		{
			
			case R.id.buttonFind_Address:
			{
				//intent = new Intent(this,MainResultActivity.class);
				//intent.putExtra("keyword",editTextAddress.getText().toString());
				//intent.putExtra("tab",0);
				//startActivity(intent);
				//break;
				//}
				
				//case R.id.buttonCancle_Address:
				//{
				Intent intent2 = new Intent(this,com.fitsoftwareprocess.mobilemap.DatabaseSample.class);
				startActivity(intent2);
				break;
				}
				
			default: 
				break;
				
		
	}
	
	
	}
}
